<?php
	$mdlUserReset = new ObjData2(TBL_PREFIX.'users');
	// Cac field hien thi tren form nhap
$mdlUserReset->arrInputFields = array('username', 'pass', 'pass2');
$mdlUserReset->addAddHTML = array('pass');
	// Map cac field voi ten cua doi tuong
$mdlUserReset->arrFieldsMap = array('username'=>'txtUsername', 'pass'=>'txtPass', 'pass2'=>'txtPass2');
	//Cac field bat buoc phai nhap
$mdlUserReset->arrRequired = array('username'=>1, 'pass'=>1, 'pass2'=>1);
	// Cac field can validate
$mdlUserReset->arrValidator = array('username'=>'Name');
	// Dieu chinh cac tieu de
$mdlUserReset->arrCaptions = array('username'=>'Tên truy cập', 'pass' => 'Mật khẩu', 'pass2' => 'Xác nhận mật khẩu');
	// Cac o nhap khong phai la textbox
$mdlUserReset->arrInput = array('pass'=>'password', 'pass2'=>'password');
// Cac o khong cho nhap
$mdlUserReset->arrReadOnly = array('username'=>1);
	// Gia tri cho cac o nhap la combobox
	//$mdlUser->arrFieldData['usr_group'] = $arrGroupName;
